<?php

declare(strict_types=1);

namespace App\Model;


/**
 * @property int $id
 * @property string $channel 渠道编号
 * @property string $channel_name 渠道名称
 * @property string $advertiser_id 广告主ID
 * @property string $advertiser_name 广告账号名称
 * @property string $advert 推广平台英文
 * @property string $platform 推广平台
 * @property string $remark1 渠道备注
 * @property string $remark2 备注2
 * @property string $remark3 备注3
 * @property string $remark4 备注4
 * @property int $spread_status 是否推广0否 1是
 * @property int $group_id 渠道组
 * @property int $ctime
 * @property \Carbon\Carbon $created_at 创建时间
 * @property \Carbon\Carbon $updated_at 修改时间
 * @property string $media 投放媒体
 * @property string $akey Akey
 * @property string $package 投放APP
 * @property string $return_type 回传类型
 * @property string $topic_name 主体名称
 * @property string $release_person 投放人员
 * @property string $down_url 渠道包下载链接
 * @property string $check_url 渠道检测链接
 * @property string $show_url 展示链接
 * @property int $is_zero 充值金额回传0元
 * @property int $exclude_invite 排除邀请用户
 * @property int $status 0关闭，1开启
 */
class ChannelSpread extends Model
{
    /**
     * The table associated with the model.
     */
    protected ?string $table = 'tb_channel_spread';

    /**
     * The attributes that are mass assignable.
     */
    protected array $fillable = [];

    /**
     * The attributes that should be cast to native types.
     */
    protected array $casts = ['id' => 'integer', 'spread_status' => 'integer', 'group_id' => 'integer', 'ctime' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime', 'is_zero' => 'integer', 'exclude_invite' => 'integer', 'status' => 'integer'];
}
